package com.squirrel.common.param.danmu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Description SendParam 发送弹幕参数
 * @Author 关远键
 * @Version v1.0.0
 * @Date 2021/11/18 16:35
 */
@Data
@ApiModel("发送弹幕参数")
public class SendParam {
    @ApiModelProperty(value = "视频ID", required = true)
    private Integer id;

    @ApiModelProperty(value = "发送者ID", required = true)
    private Integer author;

    @ApiModelProperty(value = "弹幕内容", required = true)
    private String text;

    @ApiModelProperty(value = "视频时间", required = true)
    private Float time;

    @ApiModelProperty(value = "模式1…3 滚动弹幕 4底端弹幕 5顶端弹幕 6逆向弹幕 7精准定位 8高级弹幕（当前仅支持1~3级）", required = true)
    private Integer type;

    @ApiModelProperty(value = "jwtToken", required = true)
    private String token;

    @ApiModelProperty(value = "颜色", required = true)
    private Long color;


}
